package gov.pbc.nn.kjgl.maintenance.entity;

import gov.pbc.nn.core.entity.BaseEntity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.bstek.dorado.annotation.PropertyDef;

/**
 * 系统应急计划
 * 
 * @author Administrator
 * 
 */
@Entity
@Table(name = "T_SYS_EMERGENCY_PLAN")
public class SysEmergencyPlan extends BaseEntity {

	private static final long serialVersionUID = -8522858609922629628L;

	@Column(name = "SYS_ID_", length = 60)
	private String sysId;
	@Column(name = "SYS_NAME_", length = 120)
	@PropertyDef(label = "系统名称")
	private String sysName;
	@Column(name = "TITLE_", length = 120)
	@PropertyDef(label = "计划标题")
	private String title;
	@Column(name = "CONTENT_", length = 512)
	@PropertyDef(label = "计划内容")
	private String content;
	@Column(name = "START_DATE_")
	@PropertyDef(label = "计划开展时间")
	private Date startDate;
	@Column(name = "STATE_")
	//1新建-5审核中-10已通过-20已撤销
	@PropertyDef(label = "状态")
	private int state;
	
	@Column(name = "OUT_UNIT_", length = 500)
	@PropertyDef(label = "外单位")
	private String outUnit;

	public String getOutUnit() {
		return outUnit;
	}

	public void setOutUnit(String outUnit) {
		this.outUnit = outUnit;
	}

	public String getSysId() {
		return sysId;
	}

	public void setSysId(String sysId) {
		this.sysId = sysId;
	}

	public String getSysName() {
		return sysName;
	}

	public void setSysName(String sysName) {
		this.sysName = sysName;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Date getStartDate() {
		return startDate;
	}

	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}

	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}

}
